package com.ks.app.admin.hibernate;

import java.sql.Blob;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;


@Entity
@Table(name = "Ks_MerAuthen")
public class KsMerAuthen implements java.io.Serializable{

	private static final long serialVersionUID = 4908970643780322511L;
	
	private long merID;
	private String merAudit;//商家审核状态
	private String merCorName;//法人姓名
	private String merCoridentity;//法人身份证号
	private Blob merBusLicPhoto;//营业执照相片
	private String merBusLicNo;//营业执照号
	private String merTaxNo;//税号
	private KsMerchantRegist merAuthen;//关联商家
	
	@Id
	@GeneratedValue
	public long getMerID() {
		return merID;
	}
	public void setMerID(long merID) {
		this.merID = merID;
	}
	public String getMerAudit() {
		return merAudit;
	}
	public void setMerAudit(String merAudit) {
		this.merAudit = merAudit;
	}
	public String getMerCorName() {
		return merCorName;
	}
	public void setMerCorName(String merCorName) {
		this.merCorName = merCorName;
	}
	public String getMerCoridentity() {
		return merCoridentity;
	}
	public void setMerCoridentity(String merCoridentity) {
		this.merCoridentity = merCoridentity;
	}
	public Blob getMerBusLicPhoto() {
		return merBusLicPhoto;
	}
	public void setMerBusLicPhoto(Blob merBusLicPhoto) {
		this.merBusLicPhoto = merBusLicPhoto;
	}
	public String getMerBusLicNo() {
		return merBusLicNo;
	}
	public void setMerBusLicNo(String merBusLicNo) {
		this.merBusLicNo = merBusLicNo;
	}
	public String getMerTaxNo() {
		return merTaxNo;
	}
	public void setMerTaxNo(String merTaxNo) {
		this.merTaxNo = merTaxNo;
	}
	@OneToOne(mappedBy="merauthen")
	public KsMerchantRegist getMerAuthen() {
		return merAuthen;
	}
	public void setMerAuthen(KsMerchantRegist merAuthen) {
		this.merAuthen = merAuthen;
	}
}
